doctype html
html#main(lang='en')
  head
    meta(charset='UTF-8')
    meta(name='viewport', content='width=device-width')
    title= title
    link(rel='apple-touch-icon', href='/favicon/apple-touch-icon.png')
    link(rel='icon', sizes='32x32', type='image/png', href='/favicon/favicon.png')
    link(rel='stylesheet' media='screen' href='/css/bootstrap-table.min.css')
    link(rel='stylesheet' media='screen' href='/css/bootstrap-toggle.min.css')
    link(rel='stylesheet' media='screen' href='/css/font-awesome.min.css')

    link(rel='stylesheet' media='screen' href='/css/theme.min.css')
    link(rel='stylesheet' media='screen' href='/css/core.css')
    link(rel='stylesheet' media='screen' href='/css/main.css')
    
    // Google Analytics
    script(async='' src='https://www.googletagmanager.com/gtag/js?id=G-2C7J6DL9GR')
    script.
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'G-2C7J6DL9GR');
  
  body(style='background-color: #12263f')
    block content

    script(type="text/javascript" src='/build/js/vendor-min.js')
    script(type="text/javascript" src='/build/js/contracts-min.js')
    script(type="text/javascript" src='/build/js/library-min.js')
    if page === 'home'
      script(type="text/javascript" src='/build/js/core-min.js')
    if page === 'logger'
      script(type="text/javascript" src='/build/js/fight-min.js')
    if page === 'calculator'
      script(type="text/javascript" src='/build/js/calculator-min.js')
